<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<script type="text/javascript" src="./js/jquery-3.1.1.min.js"></script>
	<script type="text/javascript">

   $(function(){
	
   		$('.frist').hover(function() {
   			$(this).siblings().stop(true,true).slideDown();
   		}, function() {
   			/* Stuff to do when the mouse leaves the element */
   			$(this).siblings().stop().slideUp();
   		});



	});
	</script>


	<style type="text/css">
		*{
			padding: 0px;
			margin:0px;
		}
		li{
			list-style: none;
		}
		.box{
			width: 500px;
			height: 1000px;
			margin: 30px auto;
		}
		ul{
			width: 250px;
			height: 800px;
			float: left;
		}
		li{
			height: 100px;
			line-height: 100px;
			text-align: center;
			border: 2px solid #fff;
			background: red url() 0 0 no-repeat;
		}
		.frist{
			background: blue url() 0 0 no-repeat;
		}
	
	</style>
	<script type="text/javascript">


	</script>
	<title>js,jq练习</title>
</head>
<body>
	<div class="box">
		<ul class="son">
			<li class="list frist">智能家居</li>
			<li class="list">手机家电</li>
			<li class="list">手机家电</li>
			<li class="list">手机家电</li>
			<li class="list">手机家电</li>
		</ul>
		<ul class="son1">
			<li class="list1 frist">生活用品</li>
			<li class="list1">电视电脑</li>
			<li class="list1">电视电脑</li>
			<li class="list1">电视电脑</li>
			<li class="list1">电视电脑</li>
		</ul>

	</div>
	
</body>
</html>